<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>hello 刘艺大王666,<div th:if="${user}" th:text="${user.username}"></div>
<a href="login">登录</a>
<a href="register">注册</a>
</body>
</html>